package com.mao.service.impl.voucher;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mao.dao.voucher.ProductWareHouseVoucherDao;
import com.mao.model.voucher.ProductWareHouseVoucher;
import com.mao.service.voucher.IProductWareHouseVoucherService;

@Service("pwvService")
public class ProductWareHouseVoucherServiceImpl implements
		IProductWareHouseVoucherService {

	private ProductWareHouseVoucherDao pwvDao;

	public ProductWareHouseVoucher savePwv(ProductWareHouseVoucher pwv) {
		return pwvDao.savePwv(pwv);
	}

	public ProductWareHouseVoucherDao getPwvDao() {
		return pwvDao;
	}

	@Autowired
	public void setPwvDao(ProductWareHouseVoucherDao pwvDao) {
		this.pwvDao = pwvDao;
	}

}
